I created a new command only for admins !ann <announce> but do not go my way. When i type for example !ann Hello I just occurs to me, but not other players :|
Here is some of the code:
var Conn = Connections[GetConnIdx(MSO.UCID)];
{
if (Conn.IsAdmin == 1 || Conn.IsSuperAdmin == 1)
{
string Announce = Msg.Remove(0, +5);
InSim.Send_BTN_CreateButton("^1Admin Announcement:", Flags.ButtonStyles.ISB_DARK, 20, 50, 50, 75, 190, Conn.UniqueID, 2, false);
InSim.Send_BTN_CreateButton("^1" + Announce, Flags.ButtonStyles.ISB_DARK, 11, 150, 70, 25, 192, Conn.UniqueID, 2, false);
}
}